Figure.pygmtlogo: Initial version for the circular, colored PyGMT logo#3849
Figure.pygmtlogo: Initial version for the circular, colored PyGMT logo#3849yvonnefroehlich wants to merge 431 commits intopygmtlogofrom
Conversation
|
/format |
|
I feel the logo definition should be separated into a standalone method, similar to the method to plot the GMT logo. This would allow to plot the PyGMT logo by calling something like |
|
ruff v0.10.0 was released 2 hours ago causing the newly falling code style checks. |
@yvonnefroehlich You can follow the steps below:
Then, you should be able to call |
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
| Plot the PyGMT logo. | ||
| The design of the logo is kindly provided by `@sfrooti <https://github.com/sfrooti>`_ |
There was a problem hiding this comment.
| Plot the PyGMT logo. | |
| The design of the logo is kindly provided by `@sfrooti <https://github.com/sfrooti>`_ | |
| Plot the PyGMT logo. | |
| The design of the logo is kindly provided by `@sfrooti <https://github.com/sfrooti>`_ |
|
I think the circular, colored version of the PyGMT logo is good enough to be finalized. I've changed the base branch to OK to merge after addressing comment #3849 (comment). |
Description of proposed changes
Related to #1404 (comment), create the PyGMT logo in Python with PyGMT:
Figure.pygmtlogoorFigure.logo_pygmtas part of theFigureclass oraddition to the method
Figure.logo(which plots the GMT logo)Gallery example-> separate PRRelated to
Preview:
https://pygmt-dev--3849.org.readthedocs.build/en/3849/api/generated/pygmt.Figure.pygmtlogo.html
Reminders
make formatandmake checkto make sure the code follows the style guide.doc/api/index.rst.Slash Commands
You can write slash commands (
/command) in the first line of a comment to performspecific operations. Supported slash command is:
/format: automatically format and lint the code